package com.darcytech.debezium.core.kafka.connect.model;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Task {

    public static final String RUNNING = "RUNNING";

    public static final String FAILED = "FAILED";

    private Integer id;

    private String state;

    @JsonProperty("worker_id")
    private String workId;

    private String trace;

    public Integer getId() {
        return id;
    }

    public String getState() {
        return state;
    }

    public String getWorkId() {
        return workId;
    }

    public String getTrace() {
        return trace;
    }
}
